#!/bin/bash
_get_build_deps(){
	needed=""
	for i in ${builddepends[@]}
	do
		ls /var/lib/inary/package/"$i"-[0-9]*  || needed="$needed $i"
	done
	if [ "$needed" != "" ] ; then
	    err "Missing: $needed"
	    su -c "inary it $needed" || exit 1
	fi
}
